using System.IO;

namespace Framework
{
    public class FileUtil
    {
        public static void WriteAllText(string path, string content)
        {
            File.WriteAllText(path, content);
        }

        public static void WriteAllBytes(string path, byte[] content)
        {
            File.WriteAllBytes(path, content);
        }

        public static string ReadAllText(string path)
        {
            return File.ReadAllText(path);
        }

        public static byte[] ReadAllBytes(string path)
        {
            return File.ReadAllBytes(path);
        }
        
        public static bool Exists(string path)
        {
            return File.Exists(path);
        }
    }
}